package com.macro.mall.tiny.modules.foster.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuyi
 * @since 2024-03-26
 */
@Data
@ApiModel(value = "User对象", description = "用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("电话号码，注册时的必填")
    private String phone;

    @ApiModelProperty("用户名，注册时的必填")
    private String username;

    @ApiModelProperty("密码，注册时的必填")
    private String password;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("是否为管理员（0：不是，1：是）")
    private Integer isAdmin;
}
